<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/4/12
 * Time: 12:49
 */

namespace App\Traits\Relation;



use App\Models\Project;

trait StudyRelation
{
    public function projects()
    {
        return $this->belongsTo(Project::class,'project_id','id');
   }
}